import java.util.Scanner;

public class TheSmallestOfThreeNumbers {

	public static void main(String[] args) {

		Scanner inputConsoleStream = new Scanner(System.in);
		
		float a = Float.parseFloat(inputConsoleStream.next());
		float b = Float.parseFloat(inputConsoleStream.next());
		float c = Float.parseFloat(inputConsoleStream.next());
		
		inputConsoleStream.close();
		
		float smallest = Float.MAX_VALUE;
		
		if (a <= smallest) {

			smallest = a;
		}
		
		if (b <= smallest) {

			smallest = b;
		}
		
		if (c <= smallest) {

			smallest = c;
		}
		
		System.out.println(smallest);
	}

}
